﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

                <ControlTemplate x:Key="WindowTemplate" TargetType="{x:Type Window}">
                    <ControlTemplate.Resources>
                        <Grid x:Key="MainGrid">
                            <Grid.RowDefinitions>
                                <RowDefinition Height="3*"/>
                                <RowDefinition Height="110"/>
                                <RowDefinition Height="13*"/>
                            </Grid.RowDefinitions>
                            <Rectangle Fill="#FF3A3A3F" Stroke="Black" RadiusX="20" RadiusY="20" StrokeThickness="2" Margin="0,2,8,6" Grid.RowSpan="3"/>
                            <Grid HorizontalAlignment="Left" Height="16" Margin="197,-69,0,0" VerticalAlignment="Top" Width="49"/>
                            <ToolBarPanel Panel.ZIndex="200" HorizontalAlignment="Left" Height="100" Margin="81,42,0,0" VerticalAlignment="Top" Width="100" Grid.RowSpan="2"/>
                            <Menu HorizontalAlignment="Left" Height="25" Margin="0,19,0,0" VerticalAlignment="Top" Width="517" Background="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}">
                                <MenuItem Header="_File">
                                    <MenuItem Name="AddBookmark" Header="_New..."/>
                                    <Separator />
                                    <MenuItem Name="Exit" Header="_Close" />
                                </MenuItem>
                                <MenuItem Header="_View"/>
                                <MenuItem Header="_Edit"/>
                                <MenuItem Header="_Help"/>
                            </Menu>

                        </Grid>
                    </ControlTemplate.Resources>

                </ControlTemplate>
   
</ResourceDictionary>